From: Alexandre Emsenhuber Date: Sun, 20 Sep 2009 20:39:48 +0000 (+0000) Subject: * (bug 20726) Title::getLatestRevID's documentation now says that the function return... X-Git-Tag: 1.31.0-rc.0~39610 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=13e43c1fdba8040a13c2e2edf475d3b4b3638baf;p=lhc%2Fweb%2Fwiklou.git * (bug 20726) Title::getLatestRevID's documentation now says that the function returns false if the page doesn't exist --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 1838004fd9..de0437b098 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -517,6 +517,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN editing an old version * (bug 16902) Installer no longer shows warnings when exec() has been disabled by disable_functions +* (bug 20726) Title::getLatestRevID's documentation now says that the function + returns false if the page doesn't exist == API changes in 1.16 == diff --git a/includes/Title.php b/includes/Title.php index b96011b375..3ceb7b1a1d 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -2139,7 +2139,7 @@ class Title { /** * What is the page_latest field for this page? * @param $flags \type{\int} a bit field; may be GAID_FOR_UPDATE to select for update - * @return \type{\int} + * @return \type{\int} or false if the page doesn't exist */ public function getLatestRevID( $flags = 0 ) { if( $this->mLatestID !== false )